package com.zzc.interview.controller;

import org.springframework.data.redis.core.RedisTemplate;

import javax.annotation.Resource;
import java.time.LocalDate;
import java.time.Year;

public class Main {
    @Resource
    private static RedisTemplate redisTemplate;

    public static void main(String[] args) {
        System.out.println(LocalDate.now());
        System.out.println(Year.of(LocalDate.now().getYear()).length());
    }
}
